Skip to content

feat(teams): add ITeamFileResourceProvider for cross-provider file lookups - #63444

Draft
pringelmann wants to merge 1 commit into
masterfrom
feat/teams-file-resource-provider
Draft

feat(teams): add ITeamFileResourceProvider for cross-provider file lookups#63444
pringelmann wants to merge 1 commit into
masterfrom
feat/teams-file-resource-provider

Conversation

@pringelmann

Copy link
Copy Markdown
Contributor

Summary

GET /teams/resources/{providerId}/{resourceId} asks a single provider which teams a resource belongs to. For files that provider is circles, which answers from oc_share. Anything that reaches a user by mount instead of by share is invisible, so a team folder never resolves to its team.

New optional OCP\Teams\ITeamFileResourceProvider. When the addressed provider implements it, TeamManager also asks every other provider that implements it, and merges the result.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI (tests)

…okups

Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Team folders do not show up as part of team resources

1 participant